package com.seednia.module.util.template.service.impl;

import java.util.Properties;

import org.apache.velocity.app.Velocity;

import com.seednia.module.util.template.service.ITemplate;
import com.seednia.module.util.template.service.ITemplateFactory;

/**
 * Velocity template wraper
 * 
 * @author Young Suk Ahn
 *
 */
public class VelocityTemplateFactory implements ITemplateFactory {

	@Override
	public void initialize(Properties props) {
		Properties p = new Properties();
	    p.setProperty("file.resource.loader.path", "/opt/templates");
	    Velocity.init( p );


	}

	@Override
	public ITemplate getTemplate(String name) {
		// TODO Auto-generated method stub
		return null;
	}

}
